<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交圈服务推荐 - 精选服务</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* 页面头部 */
        .page-header {
            padding: 2rem 0;
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .page-title {
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: #2c3e50;
        }
        
        .page-description {
            color: #6c757d;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }
        
        /* 分类标题 */
        .section-title {
            font-weight: 600;
            margin: 2.5rem 0 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid #3498db;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: #2c3e50;
        }
        
        .section-title i {
            color: #3498db;
            font-size: 1.3rem;
        }
        
        /* 视图切换 */
        .view-options {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 1.5rem;
            gap: 0.5rem;
        }
        
        .view-btn {
            background-color: white;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            cursor: pointer;
            color: #6c757d;
            transition: all 0.2s;
        }
        
        .view-btn.active {
            background-color: #3498db;
            color: white;
            border-color: #3498db;
        }
        
        /* 服务卡片基础样式 */
        .service-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.07);
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 1.5rem;
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        /* 服务图片容器 */
        .service-media {
            position: relative;
            width: 100%;
            overflow: hidden;
        }
        
        /* 无图片时的替代显示 */
        .no-media {
            height: 160px;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #95a5a6;
            font-size: 3rem;
        }
        
        /* 单张图片 */
        .single-media {
            width: 100%;
            height: 160px;
            overflow: hidden;
        }
        
        .single-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .service-card:hover .single-media img {
            transform: scale(1.05);
        }
        
        /* 多张图片布局 */
        .multiple-media {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-gap: 3px;
            height: 160px;
        }
        
        .multiple-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .service-card:hover .multiple-media img {
            transform: scale(1.05);
        }
        
        .two-media img:first-child {
            grid-row: span 2;
        }
        
        .three-media {
            grid-template-columns: repeat(3, 1fr);
        }
        
        .three-media img:first-child {
            grid-column: span 2;
            grid-row: span 2;
        }
        
        .four-media {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
        }
        
        /* 图片数量提示 */
        .media-count {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
        }
        
        /* 服务标签 */
        .service-badges {
            position: absolute;
            top: 10px;
            left: 10px;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
        
        .badge {
            font-weight: 500;
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
        }
        
        /* 服务内容 */
        .service-content {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .service-category {
            font-size: 0.8rem;
            color: #7f8c8d;
            margin-bottom: 0.25rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .service-title {
            font-weight: 600;
            font-size: 1.15rem;
            color: #2c3e50;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }
        
        .service-rating {
            color: #f39c12;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .service-rating .review-count {
            color: #7f8c8d;
            font-size: 0.85rem;
            margin-left: 0.5rem;
        }
        
        .service-description {
            color: #7f8c8d;
            font-size: 0.95rem;
            margin-bottom: 1rem;
            line-height: 1.5;
            flex: 1;
        }
        
        /* 服务价格 */
        .service-pricing {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        
        .service-price {
            font-weight: 700;
            font-size: 1.25rem;
            color: #e74c3c;
        }
        
        .service-original-price {
            font-size: 0.9rem;
            color: #7f8c8d;
            text-decoration: line-through;
        }
        
        .service-duration {
            font-size: 0.85rem;
            color: #3498db;
            padding: 0.15rem 0.5rem;
            border-radius: 4px;
            background-color: rgba(52, 152, 219, 0.1);
        }
        
        /* 服务提供者信息 */
        .service-provider {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            padding-top: 0.75rem;
            border-top: 1px solid #f1f1f1;
        }
        
        .provider-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #f1f1f1;
        }
        
        .provider-info {
            flex: 1;
        }
        
        .provider-name {
            font-weight: 500;
            color: #2c3e50;
            margin-bottom: 0;
        }
        
        .provider-rating {
            font-size: 0.8rem;
            color: #7f8c8d;
        }
        
        /* 服务元数据 */
        .service-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #7f8c8d;
            padding-top: 0.75rem;
            border-top: 1px solid #f1f1f1;
        }
        
        .service-stats {
            display: flex;
            align-items: center;
            gap: 1.25rem;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        
        /* 行动按钮 */
        .service-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 1rem;
        }
        
        .action-btn {
            flex: 1;
            padding: 0.65rem;
            border-radius: 6px;
            border: none;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
        }
        
        .btn-primary {
            background-color: #3498db;
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #2980b9;
        }
        
        .btn-outline {
            background-color: transparent;
            border: 1px solid #3498db;
            color: #3498db;
        }
        
        .btn-outline:hover {
            background-color: #3498db;
            color: white;
        }
        
        /* 特色服务样式 */
        .featured-service {
            flex-direction: row;
        }
        
        .featured-service .service-media {
            width: 35%;
        }
        
        .featured-service .single-media,
        .featured-service .multiple-media,
        .featured-service .no-media {
            height: 100%;
            min-height: 250px;
        }
        
        .featured-service .service-content {
            width: 65%;
            padding: 1.75rem;
        }
        
        .featured-service .service-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .featured-service .service-description {
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .featured-service .service-actions {
            margin-top: 1.5rem;
        }
        
        .featured-service .action-btn {
            padding: 0.85rem;
            font-size: 1rem;
        }
        
        /* 列表视图样式 */
        .list-view .service-card {
            flex-direction: row;
            height: auto;
        }
        
        .list-view .service-media {
            width: 25%;
        }
        
        .list-view .single-media,
        .list-view .multiple-media,
        .list-view .no-media {
            height: 100%;
            min-height: 150px;
        }
        
        .list-view .service-content {
            width: 75%;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .featured-service {
                flex-direction: column;
            }
            
            .featured-service .service-media,
            .featured-service .service-content {
                width: 100%;
            }
            
            .featured-service .single-media,
            .featured-service .multiple-media,
            .featured-service .no-media {
                min-height: 200px;
            }
        }
        
        @media (max-width: 768px) {
            .list-view .service-card {
                flex-direction: column;
            }
            
            .list-view .service-media,
            .list-view .service-content {
                width: 100%;
            }
            
            .service-actions {
                flex-wrap: wrap;
            }
            
            .action-btn {
                flex: 1 0 45%;
            }
        }
        
        @media (max-width: 576px) {
            .page-title {
                font-size: 1.75rem;
            }
            
            .section-title {
                font-size: 1.25rem;
            }
            
            .service-media,
            .single-media,
            .multiple-media,
            .no-media {
                height: 140px;
            }
            
            .featured-service .single-media,
            .featured-service .multiple-media,
            .featured-service .no-media {
                min-height: 180px;
            }
            
            .service-actions {
                flex-direction: column;
            }
            
            .action-btn {
                flex: none;
                width: 100%;
            }
            
            .service-stats {
                gap: 0.75rem;
                flex-wrap: wrap;
            }
        }
    </style>
</head>
<body>
    <div class="container py-5">
        <!-- 页面头部 -->
        <div class="page-header">
            <h1 class="page-title">精选服务推荐</h1>
            <p class="page-description">发现社区热门服务，查看真实用户评价和推荐，找到适合你的优质服务</p>
        </div>
        
        <!-- 今日推荐 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-star"></i> 今日精选服务
            </h2>
            
            <div class="service-card featured-service">
                <div class="service-media">
                    <div class="single-media">
                        <img src="https://picsum.photos/800/1000?random=51" alt="专业摄影服务示例图">
                    </div>
                </div>
                
                <div class="service-content">
                    <div class="service-badges">
                        <span class="badge bg-primary">精选</span>
                        <span class="badge bg-success">98% 好评</span>
                    </div>
                    
                    <div class="service-category">摄影摄像</div>
                    <h3 class="service-title">专业人像摄影服务 - 含精修+打印+全部原片</h3>
                    
                    <div class="service-rating">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star-half-alt"></i>
                        <span class="review-count">4.8 (256 评价)</span>
                    </div>
                    
                    <p class="service-description">
                        专业摄影师提供的人像摄影服务，适合个人写真、情侣照、家庭合影等场景。包含2小时拍摄时长，3套服装更换，专业灯光设备，全部原始照片（约200张），精修30张照片，赠送10张7寸打印照片。提供室内影棚和户外拍摄两种选择，提前7天预约。
                    </p>
                    
                    <div class="service-pricing">
                        <span class="service-price">¥699</span>
                        <span class="service-original-price">¥999</span>
                        <span class="service-duration">2小时拍摄</span>
                    </div>
                    
                    <div class="service-provider">
                        <img src="https://picsum.photos/200/200?random=301" alt="摄影师头像" class="provider-avatar">
                        <div class="provider-info">
                            <p class="provider-name">光影摄影工作室</p>
                            <div class="provider-rating">
                                <i class="fas fa-star text-warning"></i> 4.9 (1200+ 服务)
                            </div>
                        </div>
                    </div>
                    
                    <div class="service-stats">
                        <div class="stat-item">
                            <i class="fas fa-calendar-check"></i>
                            <span>已预约 128 次</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-share-alt"></i>
                            <span>3.2k 分享</span>
                        </div>
                    </div>
                    
                    <div class="service-actions">
                        <button class="action-btn btn-primary">
                            <i class="fas fa-calendar-plus"></i> 立即预约
                        </button>
                        <button class="action-btn btn-outline">
                            <i class="fas fa-message"></i> 咨询详情
                        </button>
                        <button class="action-btn btn-outline">
                            <i class="fas fa-heart"></i> 收藏
                        </button>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 生活服务 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-home"></i> 生活服务
            </h2>
            
            <div class="view-options">
                <button class="view-btn active" data-view="grid">
                    <i class="fas fa-th"></i> 网格
                </button>
                <button class="view-btn" data-view="list">
                    <i class="fas fa-list"></i> 列表
                </button>
            </div>
            
            <div class="row" id="life-services">
                <!-- 家政清洁服务（无图片） -->
                <div class="col-lg-4 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="no-media">
                                <i class="fas fa-broom"></i>
                            </div>
                            <div class="service-badges">
                                <span class="badge bg-info">热门</span>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">家政服务</div>
                            <h3 class="service-title">专业家庭保洁服务 - 全屋深度清洁</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                                <span class="review-count">4.2 (186 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                专业保洁人员提供的全屋深度清洁服务，包括地面清洁、玻璃擦拭、家具除尘、厨房卫生间清洁消毒等。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥199</span>
                                <span class="service-duration">3小时服务</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=302" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">洁净家服务</p>
                                </div>
                            </div>
                            
                            <div class="service-meta">
                                <div class="service-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-check-circle"></i>
                                        <span>328 单</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-calendar-plus"></i> 预约
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 家电维修服务（双图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="multiple-media two-media">
                                <img src="https://picsum.photos/600/800?random=52" alt="家电维修服务示例图1">
                                <img src="https://picsum.photos/600/400?random=53" alt="家电维修服务示例图2">
                            </div>
                            <div class="media-count">2 张图片</div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">维修服务</div>
                            <h3 class="service-title">专业家电维修 - 冰箱/洗衣机/空调维修</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
                                <span class="review-count">4.7 (324 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                专业技师上门维修各类家电，包括冰箱、洗衣机、空调、电视机等，提供故障检测和维修服务，配件质保3个月。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥80起</span>
                                <span class="service-duration">上门服务</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=303" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">诚信家电维修</p>
                                </div>
                            </div>
                            
                            <div class="service-meta">
                                <div class="service-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-check-circle"></i>
                                        <span>567 单</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-calendar-plus"></i> 预约
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 搬家服务（三图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="multiple-media three-media">
                                <img src="https://picsum.photos/600/600?random=54" alt="搬家服务示例图1">
                                <img src="https://picsum.photos/300/300?random=55" alt="搬家服务示例图2">
                                <img src="https://picsum.photos/300/300?random=56" alt="搬家服务示例图3">
                            </div>
                            <div class="media-count">3 张图片</div>
                            <div class="service-badges">
                                <span class="badge bg-warning text-dark">促销</span>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">搬家物流</div>
                            <h3 class="service-title">专业搬家服务 - 含打包+运输+搬运</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                                <span class="review-count">4.1 (215 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                专业搬家团队提供一站式搬家服务，包括物品打包、搬运、运输、卸货，提供包装材料，全程保险。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥399起</span>
                                <span class="service-original-price">¥499起</span>
                                <span class="service-duration">同城服务</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=304" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">安心搬家</p>
                                </div>
                            </div>
                            
                            <div class="service-meta">
                                <div class="service-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-check-circle"></i>
                                        <span>421 单</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-calendar-plus"></i> 预约
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 教育培训 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-graduation-cap"></i> 教育培训
            </h2>
            
            <div class="row" id="education-services">
                <!-- 瑜伽课程（四图） -->
                <div class="col-lg-3 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="multiple-media four-media">
                                <img src="https://picsum.photos/600/600?random=60" alt="瑜伽课程示例图1">
                                <img src="https://picsum.photos/600/600?random=61" alt="瑜伽课程示例图2">
                                <img src="https://picsum.photos/600/600?random=62" alt="瑜伽课程示例图3">
                                <img src="https://picsum.photos/600/600?random=63" alt="瑜伽课程示例图4">
                            </div>
                            <div class="media-count">4 张图片</div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">健身运动</div>
                            <h3 class="service-title">初学者瑜伽课程 - 10节基础课</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <span class="review-count">5.0 (156 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                适合初学者的瑜伽基础课程，每节60分钟，学习基本体式、呼吸方法和冥想技巧，提高柔韧性和平衡能力。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥299</span>
                                <span class="service-original-price">¥499</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=305" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">静雅瑜伽馆</p>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-calendar-plus"></i> 预约
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 编程培训（单图） -->
                <div class="col-lg-3 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="single-media">
                                <img src="https://picsum.photos/600/400?random=64" alt="编程培训课程示例图">
                            </div>
                            <div class="service-badges">
                                <span class="badge bg-success">新课</span>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">技能培训</div>
                            <h3 class="service-title">Python编程入门到精通 - 线上课程</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
                                <span class="review-count">4.6 (328 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                适合零基础学习者的Python编程课程，包含40小时视频教程，20个实战项目，在线答疑，终身学习权限。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥399</span>
                                <span class="service-original-price">¥699</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=306" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">编程学院</p>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 购买
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 语言家教（无图片） -->
                <div class="col-lg-3 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="no-media">
                                <i class="fas fa-language"></i>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">家教辅导</div>
                            <h3 class="service-title">英语口语一对一辅导 - 外教教学</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                                <span class="review-count">4.2 (178 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                母语为英语的外教提供一对一英语口语辅导，针对性提高听说能力，可定制课程内容和学习目标。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥80/小时</span>
                                <span class="service-duration">60分钟/节</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=307" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">环球语言社</p>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-calendar-plus"></i> 预约
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 艺术培训（双图） -->
                <div class="col-lg-3 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="multiple-media two-media">
                                <img src="https://picsum.photos/600/800?random=65" alt="绘画课程示例图1">
                                <img src="https://picsum.photos/600/400?random=66" alt="绘画课程示例图2">
                            </div>
                            <div class="media-count">2 张图片</div>
                            <div class="service-badges">
                                <span class="badge bg-primary">畅销</span>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">艺术培训</div>
                            <h3 class="service-title">油画入门课程 - 8节小班教学</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
                                <span class="review-count">4.7 (96 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                适合零基础的油画入门课程，专业美术老师指导，提供所有画材，学习构图、色彩和绘画技巧。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥499</span>
                                <span class="service-original-price">¥699</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=308" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">色彩艺术工作室</p>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-calendar-plus"></i> 预约
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 创意设计 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-palette"></i> 创意设计
            </h2>
            
            <div class="row" id="design-services">
                <!-- 平面设计（三图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="multiple-media three-media">
                                <img src="https://picsum.photos/600/600?random=70" alt="平面设计服务示例图1">
                                <img src="https://picsum.photos/300/300?random=71" alt="平面设计服务示例图2">
                                <img src="https://picsum.photos/300/300?random=72" alt="平面设计服务示例图3">
                            </div>
                            <div class="media-count">3 张图片</div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">设计服务</div>
                            <h3 class="service-title">Logo设计 - 品牌标识设计+3次修改</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <span class="review-count">4.9 (217 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                专业设计师提供的Logo设计服务，包含3个初步方案，3次修改机会，最终提供多种格式文件，适合各类品牌使用。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥599</span>
                                <span class="service-original-price">¥899</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=309" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">创意设计工作室</p>
                                </div>
                            </div>
                            
                            <div class="service-meta">
                                <div class="service-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-check-circle"></i>
                                        <span>356 单</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 购买
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 摄影服务（单图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="single-media">
                                <img src="https://picsum.photos/600/400?random=73" alt="产品摄影服务示例图">
                            </div>
                            <div class="service-badges">
                                <span class="badge bg-info">热门</span>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">摄影服务</div>
                            <h3 class="service-title">产品摄影 - 电商商品拍摄+精修</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                                <span class="review-count">4.3 (189 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                专业产品摄影服务，适合电商平台商品展示，包含10件商品拍摄，每件5张照片，全部精修处理，提供高清原图。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥399</span>
                                <span class="service-duration">3天交付</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=310" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">视觉摄影</p>
                                </div>
                            </div>
                            
                            <div class="service-meta">
                                <div class="service-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-check-circle"></i>
                                        <span>278 单</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 购买
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 视频剪辑（无图片） -->
                <div class="col-lg-4 col-md-6">
                    <div class="service-card">
                        <div class="service-media">
                            <div class="no-media">
                                <i class="fas fa-video"></i>
                            </div>
                            <div class="service-badges">
                                <span class="badge bg-warning text-dark">特惠</span>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <div class="service-category">视频制作</div>
                            <h3 class="service-title">短视频剪辑 - 1分钟以内视频制作</h3>
                            
                            <div class="service-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
                                <span class="review-count">4.6 (245 评价)</span>
                            </div>
                            
                            <p class="service-description">
                                专业短视频剪辑服务，适合抖音、快手等平台，包含剪辑、配乐、字幕、特效，1分钟以内视频，24小时内交付。
                            </p>
                            
                            <div class="service-pricing">
                                <span class="service-price">¥89</span>
                                <span class="service-original-price">¥129</span>
                            </div>
                            
                            <div class="service-provider">
                                <img src="https://picsum.photos/200/200?random=311" alt="服务提供者头像" class="provider-avatar">
                                <div class="provider-info">
                                    <p class="provider-name">光影剪辑工作室</p>
                                </div>
                            </div>
                            
                            <div class="service-meta">
                                <div class="service-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-check-circle"></i>
                                        <span>632 单</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 购买
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 视图切换功能
            const viewButtons = document.querySelectorAll('.view-btn');
            const lifeServices = document.getElementById('life-services');
            
            viewButtons.forEach(button => {
                button.addEventListener('click', function() {
                    // 更新按钮状态
                    viewButtons.forEach(btn => btn.classList.remove('active'));
                    this.classList.add('active');
                    
                    const viewType = this.getAttribute('data-view');
                    
                    if (viewType === 'list') {
                        lifeServices.classList.add('list-view');
                    } else {
                        lifeServices.classList.remove('list-view');
                    }
                });
            });
            
            // 为所有图片添加点击放大功能
            const images = document.querySelectorAll('.service-media img');
            images.forEach(img => {
                img.addEventListener('click', function() {
                    // 创建全屏查看的模态框
                    const modal = document.createElement('div');
                    modal.style.position = 'fixed';
                    modal.style.top = '0';
                    modal.style.left = '0';
                    modal.style.width = '100%';
                    modal.style.height = '100%';
                    modal.style.backgroundColor = 'rgba(0, 0, 0, 0.9)';
                    modal.style.display = 'flex';
                    modal.style.alignItems = 'center';
                    modal.style.justifyContent = 'center';
                    modal.style.zIndex = '1050';
                    modal.style.cursor = 'zoom-out';
                    modal.style.transition = 'opacity 0.3s ease';
                    
                    const imgClone = this.cloneNode(true);
                    imgClone.style.maxWidth = '90%';
                    imgClone.style.maxHeight = '90%';
                    imgClone.style.objectFit = 'contain';
                    imgClone.style.boxShadow = '0 4px 20px rgba(0,0,0,0.3)';
                    imgClone.style.transition = 'transform 0.3s ease';
                    
                    modal.appendChild(imgClone);
                    document.body.appendChild(modal);
                    document.body.style.overflow = 'hidden'; // 防止背景滚动
                    
                    // 点击模态框关闭
                    modal.addEventListener('click', function() {
                        modal.style.opacity = '0';
                        setTimeout(() => {
                            document.body.removeChild(modal);
                            document.body.style.overflow = ''; // 恢复滚动
                        }, 300);
                    });
                });
            });
            
            // 为卡片添加淡入动画
            const cards = document.querySelectorAll('.service-card');
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.style.opacity = '1';
                        entry.target.style.transform = 'translateY(0)';
                        observer.unobserve(entry.target);
                    }
                });
            }, { threshold: 0.1 });
            
            cards.forEach(card => {
                card.style.opacity = '0';
                card.style.transform = 'translateY(20px)';
                card.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
                observer.observe(card);
            });
            
            // 预约/购买按钮点击效果
            const actionButtons = document.querySelectorAll('.btn-primary');
            actionButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const originalText = this.innerHTML;
                    this.innerHTML = '<i class="fas fa-check"></i> 已完成';
                    this.style.backgroundColor = '#27ae60';
                    
                    setTimeout(() => {
                        this.innerHTML = originalText;
                        this.style.backgroundColor = '';
                    }, 1500);
                });
            });
            
            // 收藏按钮点击效果
            const favoriteButtons = document.querySelectorAll('.btn-outline');
            favoriteButtons.forEach(button => {
                if (button.querySelector('.fa-heart')) {
                    button.addEventListener('click', function() {
                        const icon = this.querySelector('i');
                        if (icon.classList.contains('far')) {
                            icon.classList.remove('far');
                            icon.classList.add('fas');
                            this.style.backgroundColor = '#3498db';
                            this.style.color = 'white';
                        } else {
                            icon.classList.remove('fas');
                            icon.classList.add('far');
                            this.style.backgroundColor = '';
                            this.style.color = '';
                        }
                    });
                }
            });
        });
    </script>
</body>
</html>
    
